x86emul: simplify FPU destination operand handling
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:03:11 +0000 (12:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:03:11 +0000 (12:03 +0100)
commit3045e864f03e34f6f1a2e213f4439cd7276c43c8
tree291ea23935eb59f8bfaecb13edad5c38634d5318
parent246ffcd0a2a6c661cdf330020b320898d510dba0
x86emul: simplify FPU destination operand handling

Consolidate the copying of ea to dst: There's no need to set the type
to OP_MEM, and instead the load cases setting it to OP_NONE allows the
copying to be done just once per major opcode.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c